<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.opensymphony.xwork2.util.ValueStack"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
	ValueStack vs = (ValueStack)request.getAttribute("struts.valueStack");
	ArrayList<ArrayList<String>> report = (ArrayList<ArrayList<String>>)vs.findValue("report");
	ArrayList<String> header = report.get(0);
%>
<style>
<!--
table.lynn-mytable125 { 
width: 700px; 
padding: 0; 
margin: 0; 
} 
th.mr-joad9 { 
font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; 
color: #4f6b72; 
border-right: 1px solid #C1DAD7; 
border-bottom: 1px solid #C1DAD7; 
border-top: 1px solid #C1DAD7; 
letter-spacing: 2px; 
text-transform: uppercase; 
text-align: left; 
padding: 6px 6px 6px 12px; 
background: #CAE8EA  no-repeat; 
} 

td.mr-isd9 { 
border-right: 1px solid #C1DAD7; 
border-bottom: 1px solid #C1DAD7; 
background: #fff; 
font-size:11px; 
padding: 6px 6px 6px 12px; 
color: #4f6b72; 
} 
-->
</style>

<table class="lynn-mytable125" cellspacing="0">
	<thead>
		<tr>
		<%   for (String t : header) { %>
			<th class="mr-joad9" scope="col">
				<%=t %>
			</th>		
		<% 	} %>
		</tr>
	</thead>

	<tbody>
		<%   for(int i=1;i<report.size();i++) { 
				ArrayList<String> row = report.get(i);
		%>
			<tr>
				<td class="mr-isd9">
					<%=i %>
				</td>
				<%   for (int y=1;y<row.size();y++) {
						String t = row.get(y);	
				%>
					<td class="mr-isd9">
						<%=t %>
					</td>		
				<% 	} %>
			</tr>
		<%   } %>
	</tbody>
</table>